<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta content="width=device-width, initial-scale=1.0" name="viewport">
        <meta content="ie=edge" http-equiv="X-UA-Compatible">
        <title>面积计算器</title>
        <link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" rel="stylesheet">
        <style>
            .mgt {
                margin-top: 10px;
            }
        </style>
    </head>
    <body>
        <nav
            class="navbar navbar-dark bg-dark">
            <!-- Navbar content -->
            <a class="navbar-brand" href="/">Ciyuer工具箱</a>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mr-auto">
                    <li class="nav-item active">
                        <a class="nav-link" href="#">面积计算器</a>
                    </li>
                </ul>
            </div>
        </nav>
        <div class="container mgt">
            <div class="row">
                <div class="col-sm">
                    <div class="form">
                        <div class="form-group">
                            <textarea id="wkt" class="form-control" placeholder="请输入WKT ： POLYGON((...)) || MULTIPOLYGON(((...)))" rows="10"></textarea>
                        </div>
                        <button class="btn btn-primary" onclick="calculate()">
                            开始计算
                        </button>
                    </div>
                </div>
                <div class="col-sm"></div>
            </div>
        </div>
        <script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
        <script src="https://cdn.bootcss.com/Turf.js/5.1.6/turf.min.js"></script>
        <script src="https://lib.ciyuer.com/wellknown/bundle.js"></script>
        <script src="./index.js"></script>
    </body>
</html>
